package com.xmx.productcenter.feign;

import com.xmx.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient(value="order-center")
public interface OrderFeign {
    @GetMapping("/ordercenter/order/info/{id}")
    R info(@PathVariable("id") Integer id);
}
